package com.carlos.company.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author 李健成
 * @date 2021/10/15
 */

@Data
@Component
@ConfigurationProperties(prefix = "jwt")
public class JwtConfig {

    private String header;
    private long expire;
    private String key;

}
